home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 1996 April: Mac OS SDK / Dev.CD Apr 96 SDK / Dev.CD Apr 96 SDK1.toast / Development Kits (Disc 1) / OpenDoc / Sample Code / CALib & You… / Source / CALib / Implementation / ProxyPart / CAProxyHooks.h < prev    next >
Encoding:
C/C++ Source or Header  |  1995-12-07  |  956 b   |  46 lines  |  [TEXT/MPS ]

  1. /*
  2.     File:        CAProxyHooks.h
  3.  
  4.     Contains:    Typedefs for routines which are defined by CALib and called
  5.                 by the proxy part.  The CALib routines convert from OD to CA
  6.                 types and call the cooresponding CA handler if installed.
  7.  
  8.     Written by:    Rick Badertscher
  9.  
  10.     Copyright:    © 1994 by Apple Computer, Inc., all rights reserved.
  11.  
  12.     Change History (most recent first):
  13.  
  14.          <1>      5/13/95    RB        Created
  15.  
  16.     To Do:
  17. */
  18.  
  19.  
  20. #ifndef _CAProxyHooks_
  21. #define _CAProxyHooks_
  22.  
  23. #ifndef _ODTYPES_
  24. #include <ODTypes.h>
  25. #endif
  26.  
  27. class    ODDraft;
  28. class    ODFrame;
  29. class    ODShape;
  30. class    ODFacet;
  31. class    ODTransform;
  32.  
  33. typedef void        (*CAProxyHookAdjustBorder)    (    CAAdjustBorderProc adjustBorderProc,
  34.                                                     ODDraft*        document,
  35.                                                     ODFrame*        frame,
  36.                                                     ODShape*        shape);
  37.  
  38.  
  39. typedef    void        (*CAProxyHookFrameShapeRequest) (CAFrameShapeRequestHandler    handler,
  40.                                                     ODDraft*            document,
  41.                                                     ODFrame*            frame,
  42.                                                     ODShape*            shape);
  43.  
  44.                                                     
  45. #endif
  46.